package com.dap.exception;

/**
 * 业务级异常基类
 */
public class BusinessException extends PlatformException {
    private static final long serialVersionUID = -9113297076948617320L;
    private Object extraObject;


    public BusinessException() {
        super();
    }

    public BusinessException(String errorCode) {
        super(errorCode);
    }

    public BusinessException(String errorCode, Throwable e) {
        super(errorCode, e);
    }

    public BusinessException(String errorCode, String... errorMessageParams) {
        super(errorCode, errorMessageParams);
    }

    public BusinessException(String errorCode, String[] errorMessageParams, Throwable e) {
        super(errorCode, errorMessageParams, e);
    }



    public Object getExtraObject() {
        return extraObject;
    }
    public void setExtraObject(Object extraObject) {
        this.extraObject = extraObject;
    }

}
